package com.example.reslib;

public class CommonData {
    private static CommonData mInst = null;
    private static Object mLock = new Object();
   private boolean  hasCheckUpdata;

    private CommonData(){
    }


    public static CommonData getInst(){
        if(mInst==null){
            synchronized (mLock){
                mInst = new CommonData();
            }
        }
        return mInst;

    }

    public boolean isHasCheckUpdata() {
        return hasCheckUpdata;
    }

    public void setHasCheckUpdata(boolean hasCheckUpdata) {
        this.hasCheckUpdata = hasCheckUpdata;
    }
}
